package com.eat.fish_service.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author WZX
 * @since 2022-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ExpertCheck对象", description="")
@NoArgsConstructor
public class ExpertCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "专家id，和用户id一致（不用设外键）")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "真实姓名，这个要锁定登录的真实姓名")
    private String realName;

    @ApiModelProperty(value = "资质1：学历，格式：xxx大学xxx专业xxx，如：清华大学生物专业博士")
    private String qualification1;

    @ApiModelProperty(value = "资质2：个人照片 用路径存储")
    private String qualification2;

    @ApiModelProperty(value = "资质3：证明材料 用路径存储")
    private String qualification3;

    @ApiModelProperty(value = "专家介绍")
    private String introduce;

    @ApiModelProperty(value = "审核是否通过：0:未通过 1:已通过")
    private Integer isPass;

    @ApiModelProperty(value = "审核不通过原因，管理员审核不通过时填写")
    private String reason;

    @TableLogic
    @ApiModelProperty(value = "逻辑删除： 0:未删除  1:已删除")
    private Integer isDeleted;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;


}
